﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="producte.ascx.cs" Inherits="John.ascx_producte" %>
<style>
.ooib1 { border-style: none solid solid;}
.ooih1 td { border-width: 1px; padding: 0 5; }
.ooihj1 {  background-image: url(images/btn03_4.gif) ; border-style: solid solid none;cursor: hand}
.ooihs1 {  background-image: url(images/btn02_4.gif) ; border-style: solid; cursor: hand}
.ooihx1 { border-style: none;}

</style>

<script language="JavaScript" type="text/javascript">
function ghbq1(td)
{
  var tr = td.parentElement.cells;
  var ob = obody1.rows;
  for(var ii=0; ii<tr.length-1; ii++)
  {
    tr[ii].className = (td.cellIndex==ii)?"ooihj1":"ooihs1";
    ob[ii].style.display = (td.cellIndex==ii)?"block":"none";
  }
}
</script>

<table class="ooih1" border="0" cellspacing="0" cellpadding="0" width="400" height="19">
    <tr>
        <td class="ooihj1" nowrap onclick="ghbq1(this)" height="30" width="80" align="center">
            产品供应</td>
        <td class="ooihs1" nowrap onclick="ghbq1(this)" height="30" width="80" align="center">
            产品求购</td>
        <td class="ooihs1" nowrap onclick="ghbq1(this)" height="30" width="80" align="center">
            创业加盟</td>
        <td class="ooihs1" nowrap onclick="ghbq1(this)" height="30" width="80" align="center">
            单位展示</td>
        <td class="ooihx1" width="100%">
        </td>
    </tr>
</table>
<table>
<tr>
<td>
<table class="ooib1" id="obody1" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td>
            <asp:DataList ID="HDataList" runat="server" CellPadding="10" CellSpacing="3" RepeatColumns="3"
                RepeatDirection="Horizontal" ShowFooter="False" ShowHeader="False" Width="100%">
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <table cellpadding="0" cellspacing="0">
                        <tr>
                            <td align="center" width="100">
                                <a href='productDisplay.aspx?id=<%#DataBinder.Eval(Container.DataItem,"PID")%>'>
                                    <img border="1" height="64" src='viste/UPloadImg/<%#DataBinder.Eval(Container.DataItem,"PPicture")%>'
                                        width="100">
                                </a>
                            </td>
                            <td align="left" width="140">
                                <table>
                                    <tr>
                                        <td>
                                            <%#DataBinder.Eval(Container.DataItem,"PName")%>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            型号: <font color="#CC0033">
                                                <%#DataBinder.Eval(Container.DataItem,"pggxh")%>
                                            </font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            单价: <font color="#CC0033">￥<%#String.Format("{0:f}",DataBinder.Eval(Container.DataItem,"PNPrice"))%></font></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr align="center">
                            <td>
                                [ <a href='productDisplay.aspx?id=<%#DataBinder.Eval(Container.DataItem,"PID")%>'>查看详情</a>
                                ]</td>
                            <td align="left">
                                &nbsp;
                                <img src="images/emoney.gif">
                                [<a href='makeOrder.aspx?id=<%#DataBinder.Eval(Container.DataItem,"PID")%>' target="_blank">留言询价</a>]
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList></td>
    </tr>
    <tr style="display: none">
        <td>
            <asp:DataList ID="NDataList" runat="server" CellPadding="10" CellSpacing="3" RepeatColumns="3"
                RepeatDirection="Horizontal" ShowFooter="False" ShowHeader="False" Width="100%">
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <table cellpadding="0" cellspacing="0">
                        <tr>
                            <td align="center" width="100">
                                <a href='productDisplay.aspx?id=<%#DataBinder.Eval(Container.DataItem,"PID")%>'>
                                    <img border="1" height="64" src='viste/UPloadImg/<%#DataBinder.Eval(Container.DataItem,"PPicture")%>'
                                        width="100">
                                </a>
                            </td>
                            <td align="left" width="140">
                                <table>
                                    <tr>
                                        <td>
                                            <%#DataBinder.Eval(Container.DataItem,"PName")%>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            型号: <font color="#CC0033">
                                                <%#DataBinder.Eval(Container.DataItem,"pggxh")%>
                                            </font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            单价: <font color="#CC0033">￥<%#String.Format("{0:f}",DataBinder.Eval(Container.DataItem,"PNPrice"))%></font></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr align="center">
                            <td>
                                [ <a href='productDisplay.aspx?id=<%#DataBinder.Eval(Container.DataItem,"PID")%>'>查看详情</a>
                                ]</td>
                            <td align="left">
                                &nbsp;
                                <img src="images/emoney.gif">
                                [<a href='makeOrder.aspx?id=<%#DataBinder.Eval(Container.DataItem,"PID")%>' target="_blank">留言询价</a>]
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList></td>
    </tr>
    <tr style="display: none">
        <td>
            </td>
    </tr>
    <tr style="display: none">
        <td>
            &nbsp;
        </td>
    </tr>
</table>
</td>
</tr>
</table>